
SUBDIRS = sqlite src docs base

Infodir = $(localstatedir)
Info_DATA = AUTHORS COPYING ChangeLog INSTALL NEWS README README-FEDORA autogen.sh

Scriptdir = $(prefix) 
Script_DATA = firewall
	
EXTRA_DIST = $(Info_DATA)

install-deb:
	cp serverfw.sh /etc/init.d/
	chmod 0755 /etc/init.d/serverfw.sh
	update-rc.d serverfw.sh defaults
	
install-rpm:
	cp serverfw-fedora.sh /etc/init.d/serverfw
	chmod a+x /etc/init.d/serverfw
	chkconfig --add serverfw
	chkconfig --level 2345 serverfw on	
